import { request } from "@/utils/request";
import type { ResType } from "@/types/layout/layout";
import type { Category } from "@/types/layout/layout";
//获取一级菜单
export function getCategoryAPI() {
  return request<ResType>({
    url: "/home/category/head",
    method: "get",
  });
}
